//  页面路径：store/index.js
import Vue from 'vue'
import Vuex from 'vuex'

//销售模块的数据
import sale from '@/store/modules/sale.js'
//生产物流模块的数据
import inward from '@/store/modules/inward.js'
//采购物流模块的数据
import purchase from '@/store/modules/purchase.js'
//网络请求相关数据
import api from '@/store/modules/api.js'
//页面通用数据
import common from '@/store/modules/common.js'

Vue.use(Vuex)
export default new Vuex.Store({
	modules: {
		sale,
		inward,
		purchase,
		api,
		common
	}
})